#header {
    margin: 0;
    padding: 0;
}

#content {
    padding: 20px;
}

#sidebar {
    padding: 20px 20px 20px 0;
}

#footer {
    padding: 10px;
    margin: 10px 20px;
    font-size: 0.8em;
    text-align: center;
    border-top: 1px solid #C9E0ED;
}

#logo {
    padding: 10px 20px;
    font-size: 200%;
}

div.flash-error, div.flash-notice, div.flash-success {
    padding: .8em;
    margin-bottom: 1em;
    border: 2px solid #ddd;
}

div.flash-error {
    background: #FBE3E4;
    color: #8a1f11;
    border-color: #FBC2C4;
}

div.flash-notice {
    background: #FFF6BF;
    color: #514721;
    border-color: #FFD324;
}

div.flash-success {
    background: #E6EFC2;
    color: #264409;
    border-color: #C6D880;
}

div.flash-error a {
    color: #8a1f11;
}

div.flash-notice a {
    color: #514721;
}

div.flash-success a {
    color: #264409;
}

div.form .rememberMe label {
    display: inline;
}

div.view {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #C9E0ED;
}

div.breadcrumbs {
    font-size: 0.9em;
    padding: 5px 20px;
}

div.breadcrumbs span {
    font-weight: bold;
}

div.search-form {
    padding: 10px;
    margin: 10px 0;
    background: #eee;
}

.portlet {

}

.portlet-decoration {
    padding: 3px 8px;
    background: #B7D6E7;
    border-left: 5px solid #6FACCF;
}

.portlet-title {
    font-size: 12px;
    font-weight: bold;
    padding: 0;
    margin: 0;
    color: #298dcd;
}

.portlet-content {
    font-size: 0.9em;
    margin: 0 0 15px 0;
    padding: 5px 8px;
    background: #EFFDFF;
}

.portlet-content ul {
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.portlet-content li {
    padding: 2px 0 4px 0px;
}

.operations {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.operations li {
    padding-bottom: 2px;
}

.operations li a {
    font: bold 12px Arial;
    color: #0066A4;
    display: block;
    padding: 2px 0 2px 8px;
    line-height: 15px;
    text-decoration: none;
}

.operations li a:visited {
    color: #0066A4;
}

.operations li a:hover {
    background: #80CFFF;
}

/*cat view page*/
.cat_view table {
    width: 100%;
}

.cat_view tr.description {
    color:#124481;
    min-height: 50px;
}

.cat_view .links a{
    color:#590303;

}

.cat_view .avatar {
    width:300px;
}

.cat_view .avatar img {
    max-height: 500px;
    max-width: 500px;
    margin: 5px;
}
/*
.cat_view img.avatar {
    float:left;
    max-height: 500px;
    max-width: 500px;
    margin: 5px;
}

.cat_view .info .description {
    color:#124481;
    min-height: 50px;
}

.cat_view .info .links {
    width: 100%;
}

.cat_view .info .links a{
    color:#590303;
    padding-left: 20px;
}
*/



.genealogy-tree {
    width: 100%;
    height: 100%;
    border: 1px solid grey;
}
.genealogy-tree td {
    border: 1px solid grey;
}

.gold_frame {
    /*676x457*/
    width: 720px;
    height: 360px;

    position: absolute;

    background: url('../images/cat-border.png') no-repeat;
    border: 10px transparent;

}
.gold_view_header {
    background: url('../images/cat-border_top.png') no-repeat;
    width: 720px;
    height: 80px;
    position: absolute;
}

.gold_view_footer {
    background: url('../images/cat-border_bottom.png') no-repeat;
    width: 720px;
    height: 80px;
    position: absolute;
    top: 262px;
}

.gold_view_right {
    background: url('../images/cat-border_right.png') repeat-y;
    width: 22px;
    height: 185px;
    top: 77px;
    left: 654px;
    position: absolute;
}

.gold_view_left {
    background: url('../images/cat-border_left.png') repeat-y;
    width: 22px;
    height: 185px;
    top: 77px;
    position: absolute;
}


.gold_view {
    height: 360px;
    width: 628px;
    padding: 20px;
}
.gold_view a{
    color:#590303;
}

.gold_view td {
    /*text-align: center;*/
}

.gold_view td.description {
    padding:20px;
}

td.description .mainInfo {
    margin-left:20px;

    display: inline-block;
}
td.description .mainInfo h2, h3 {
    margin: 0px;
}

td.description .additionalInfo {
    max-height: 150px;
    overflow: hidden;
}

table.kittens_list {
    width:100%;
}

.heart_wrapper {
    position: absolute;
}

.heart {
    position: absolute;
    background: url('../images/goldenheart.png') ;
    height: 232px;
    width: 288px;
    top: -80px;
    left: -165px;
}